package com.barneyx.mshinfoplatform.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum EPayType implements IEnum<String>{
    //微信
    WECHAT(1,"WECHAT"),
    //支付宝
    ZHIFUBAO(2,"ZHIFUBAO"),
    //现金
    CASH(3,"CASH"),
    //金币
    GOLD(4,"GOLD"),
    //积分
    INTEGRATION(5,"INTEGRATION");

    EPayType(int code,String value){
        this.code = code;
        this.value = value;
    }
    @EnumValue
    private final int code;
    private final String value;
}
